package com.fanrenqiji.service;

import com.fanrenqiji.vo.ResponseVO;

/**
 * Created by yanwt on 2017/2/10.
 * 短信验证码接口
 */
public interface ISMSService {
    /**
     * 发送验证码
     * @param phone
     * @return
     */
    ResponseVO sendCode(String phone);

    /**
     * 验证验证码是否正确
     * @param phone
     * @param code
     * @return
     */
    ResponseVO validate(String phone, String code);
}
